package ooday01;

public class CartTest {
    public static void main(String[] args) {
        Car car = new Car();
        car.brand = "奔驰";
        car.color = "银白色";
        car.price = 800000;
        car.start();
        car.run();
        car.stop();

        Car car1 = new Car("GTR", "白色", 800000);
        car1.start();
        car1.run();
        car1.stop();


        Car car2 = new Car("保时捷", "白色", 800000);
        car2.start();
        car2.run();
        car2.stop();


    }
}
